////////////////////////////////////////////////////
//RCS Google Stat Google Gadget Client
//
//Programmed by: Chris Aughinbaugh
//Copyright Residential Control Systems, Inc. 2009
////////////////////////////////////////////////////

function cmdIP_change(e)
{
	
}

function view_onok() {
gadget.debug.trace("OK PRESSED");
options.putValue("IP",editIP.value);
options.putValue("PORT",editPort.value);
options.putValue("REFRESH",editRefresh.value);
options.putValue("DEVICE",editDevice.value);
}

function view_onopen() {
options.putDefaultValue("IP","127.0.0.1");
options.putDefaultValue("PORT",80);
options.putDefaultValue("REFRESH",2000);
editIP.value = options.getValue("IP");
editPort.value = options.getValue("PORT");
editRefresh.value = options.getValue("REFRESH");
editDevice.value = options.getValue("DEVICE");
}

